/*
 * CoreServicesSource.java
 *
 * Created on 8 de marzo de 2007, 03:11 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.radar.services.source;

import java.util.ResourceBundle;

/**
 *
 * @author aocampo
 */
public class CoreServicesSource {
    
    protected static CoreServicesSource coreServicesSource;
    private static ResourceBundle coreServicesSetup;
    
    /**
     * Creates a new instance of CoreServicesSource 
     */
    protected CoreServicesSource() {
        coreServicesSetup = ResourceBundle.getBundle("CoreServicesSetup");
    }
    
    public static CoreServicesSource getInstance() {
        if (coreServicesSource == null) {
            coreServicesSource = new CoreServicesSource();
        }
        return coreServicesSource;
    }
    
    public String getCoreServicesSetupKey(String key) {
        return coreServicesSetup.getString(key);
    }
}